package com.kun.rental.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kun.rental.entity.Maintain;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.rental.entity.Violation;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ikun
 * @since 2024-07-04
 */
public interface IMaintainService extends IService<Maintain> {

    /**
     * 分页条件查询
     * @param page
     * @param maintain
     * @return
     */
    Page<Maintain> searchByPage(Page<Maintain> page, Maintain maintain);

    /**
     * 删除及批量删除
     * @param ids
     * @return
     */
    boolean delete(String ids);
}
